package com.xuecheng.api.content;


import com.xuecheng.api.content.model.dto.TeachplanDTO;
import com.xuecheng.api.content.model.dto.TeachplanMediaDTO;
import com.xuecheng.api.content.model.vo.BindTeachplanMediaVO;
import com.xuecheng.api.content.model.vo.TeachplanVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;

@Api(value = "课程计划api",tags = "课程计划api信息管理接口说明")
public interface TeachplanApi {

    @ApiOperation("查询课程计划属性结结构")
    @ApiImplicitParam(value = "courseId",name = "课程基础id值",required = true,dataType = "Long",paramType = "path")
    TeachplanDTO getTreeNodes(Long courseId);


    @ApiOperation(value = "创建和修改课程计划数据")
    TeachplanDTO createOrModifyTeachplan(TeachplanVO teachplanVO);

    @ApiOperation(value = "课程计划和媒资信息绑定")
    TeachplanMediaDTO associationMedia(BindTeachplanMediaVO vo);

}
